package team.seekers.oj.problem.dto;

import lombok.*;
import team.seekers.oj.common.entity.BaseDTO;

import javax.validation.constraints.NotNull;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class ProblemCheckpointDTO extends BaseDTO {

    public static final int BYTE_SIZE = 12;

    @NotNull(message = "检查点id不可为空")
    private Long checkpointId;

    @NotNull(message = "检查点分数不可为空")
    private Integer checkpointScore;

}